package com.fqgj.sentry.biz.pc.vo.rule;

import java.io.Serializable;

/**
 * Created by liupengpeng on 2017/8/4.
 */
public class RuleVo implements Serializable {
    /**
     *策略集id
     */
    private Long policySetsId;
    /**
     *执行者id
     */
    private Long executorId;
    /**
     * 执行者 类型
     */
    private Integer executorType;
    /**
     * 执行者 版本
     */
    private Integer executorVersion;
    /**
     * 执行者版本状态
     */
    private Integer executorVersionStatus;
    /**
     *策略id
     */
    private Long policyId;
    /**
     * 规则id
     */
    private Long ruleId;
    /**
     *规则名称
     */
    private String name;
    /**
     *规则编码
     */
    private String code;
    /**
     *规则版本
     */
    private Integer version;
    /**
     *是否启用
     */
    private Integer isActive;

    /**
     * 规则序号
     */
    private Integer sort;

    public Integer getSort() {
        return sort;
    }

    public RuleVo setSort(Integer sort) {
        this.sort = sort;
        return this;
    }

    public Integer getExecutorType() {
        return executorType;
    }

    public RuleVo setExecutorType(Integer executorType) {
        this.executorType = executorType;
        return this;
    }

    public Integer getExecutorVersion() {
        return executorVersion;
    }

    public RuleVo setExecutorVersion(Integer executorVersion) {
        this.executorVersion = executorVersion;
        return this;
    }

    public Integer getExecutorVersionStatus() {
        return executorVersionStatus;
    }

    public RuleVo setExecutorVersionStatus(Integer executorVersionStatus) {
        this.executorVersionStatus = executorVersionStatus;
        return this;
    }

    public Long getRuleId() {
        return ruleId;
    }

    public RuleVo setRuleId(Long ruleId) {
        this.ruleId = ruleId;
        return this;
    }

    public Long getPolicySetsId() {
        return policySetsId;
    }

    public RuleVo setPolicySetsId(Long policySetsId) {
        this.policySetsId = policySetsId;
        return this;
    }

    public Long getExecutorId() {
        return executorId;
    }

    public RuleVo setExecutorId(Long executorId) {
        this.executorId = executorId;
        return this;
    }

    public Long getPolicyId() {
        return policyId;
    }

    public RuleVo setPolicyId(Long policyId) {
        this.policyId = policyId;
        return this;
    }

    public String getName() {
        return name;
    }

    public RuleVo setName(String name) {
        this.name = name;
        return this;
    }

    public String getCode() {
        return code;
    }

    public RuleVo setCode(String code) {
        this.code = code;
        return this;
    }

    public Integer getVersion() {
        return version;
    }

    public RuleVo setVersion(Integer version) {
        this.version = version;
        return this;
    }

    public Integer getIsActive() {
        return isActive;
    }

    public RuleVo setIsActive(Integer isActive) {
        this.isActive = isActive;
        return this;
    }
}
